package com.jbit.examSystem.service;

import com.jbit.examSystem.param.ExamSearchParam;
import com.jbit.examSystem.pojo.Exam;
import com.jbit.examSystem.pojo.ExamAdd;

import java.util.List;

public interface ExamService {
    List<Exam> list(ExamSearchParam param);

    List<Exam> getExamNameByClassId(Integer classId);

    void addExam(ExamAdd examAdd);

    List<Exam> getExamByClassId(Integer classId);

    Exam getExamById(Integer examId);
}
